var exec = require('cordova/exec');

function PushPlugin() {
}

PushPlugin.prototype.init = function(funcSuccess , funcError){
 exec(funcSuccess,funcError,"PushPlugin","init",[]);
}

PushPlugin.prototype.startWork = function(funcSuccess , funcError){
 exec(funcSuccess,funcError,"PushPlugin","startWork" , []);
}

PushPlugin.prototype.stopWork = function(funcSuccess , funcError){
 exec(funcSuccess,funcError,"PushPlugin","stopWork" , []);
}

PushPlugin.prototype.setTag = function(funcSuccess , funcError , params){
 exec(funcSuccess,funcError,"PushPlugin","setTag" , [params]);
}
               

var pushPlugin = new PushPlugin();
module.exports = pushPlugin;




